package com.log.com.log.bean;

import java.text.SimpleDateFormat;

/**
 * 日志基础bean
 * @author dell
 *
 */
public class LogBaseBean {

	/**
	 * 是否显示在日志中显示产生该日志的程序类名  
	 * 默认 ： true
	 */
	private boolean showClassName=true;
	
	/**
	 * 是否在每条日志中显示产生该日志的程序名
	 */
	private boolean showFileName=true;
	
	/**
	 * 是否显示程序的日志的行代码的行号
	 */
	private boolean showLine=true;
	
	/**
	 * 调用当前类的程序类名
	 */
	private String paraentClassName=null;

	/**
	 * 格式化日志文件名
	 */
    private SimpleDateFormat  format=null;

	public boolean isShowClassName() {
		return showClassName;
	}

	public void setShowClassName(boolean showClassName) {
		this.showClassName = showClassName;
	}

	public boolean isShowFileName() {
		return showFileName;
	}

	public void setShowFileName(boolean showFileName) {
		this.showFileName = showFileName;
	}

	public boolean isShowLine() {
		return showLine;
	}

	public void setShowLine(boolean showLine) {
		this.showLine = showLine;
	}

	public String getParaentClassName() {
		return paraentClassName;
	}

	public void setParaentClassName(String paraentClassName) {
		this.paraentClassName = paraentClassName;
	}

	public SimpleDateFormat getFormat() {
		return format;
	}

	public void setFormat(SimpleDateFormat format) {
		this.format = format;
	}
 
    
    
}
